package com.ipzoe.mem.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class MemberCardAddBatchDTO {

    /** 经销商id */
    private Long dealerId;
    /** 会员套餐id */
    private Long packageId;
    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date expiryDay;
    /** 生成张数 */
    private Integer num;

    private String createBy;

}
